package com.woniu.liuzhougov.businessproject.service;

import com.woniu.liuzhougov.businessproject.dto.BusinessProjectDTO;
import com.woniu.liuzhougov.businessproject.dto.BusinessProjectInitDTO;
import com.woniu.liuzhougov.businessproject.pojo.BusinessProject;

import java.util.List;

public interface BusinessProjectService {

    //查找所有的招商项目
    List<BusinessProjectDTO> selectBusinessProjects();

    //根据输入的项目名模糊查找项目
    List<BusinessProjectDTO> selectProject(BusinessProject businessProject);

    //添加项目
    int addBusinessProject(BusinessProject businessProject);

    //初始化更新表单
    BusinessProjectInitDTO initUpdateForm(Integer businessProjectId);

    //更新项目
    int updateBusinessProject(BusinessProject businessProject);

    //删除项目
    int deleteByPrimaryKey(Integer businessProjectId);

    BusinessProject selectProjectByID(Integer businessProjectId);

}
